package com.brain.core.view.util;


import com.brain.core.common.UtilCore;
import java.io.IOException;

import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;

public class WebBrainFiltro implements javax.servlet.Filter {
    private static Logger logger = Logger.getLogger(WebBrainFiltro.class);
    
    public void destroy() {
        // TODO	
    }

    public void doFilter(ServletRequest req, ServletResponse resp,
            FilterChain chain) throws IOException, ServletException {

        HttpServletRequest httpRequest = (HttpServletRequest) req;
        HttpServletResponse httpResponse = (HttpServletResponse) resp;

        String url = httpRequest.getRequestURI();        

        chain.doFilter(req, resp);


    }

    public void init(FilterConfig arg0) throws ServletException {
        // TODO Auto-generated method stub		
    }
}
